import {
    createBrowserRouter,
} from "react-router-dom";

import App from "../App";
import About from "../pages/about/index"
import Home from "../pages/home/index"

const router = createBrowserRouter([
    {
        path: '/',
        element: <App />,
        children: [
            {
                path: 'home',
                element: <Home />,
            },
            {
                path: 'about',
                element: <About />,
            }
        ]
    },



])

export default router;